package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池回购标准表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_battery_repurchase_standard")
@ApiModel(value = "XhBatteryRepurchaseStandard对象", description = "电池回购标准表")
public class XhBatteryRepurchaseStandard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("上级标准 顶级默认0")
    private Integer parentId;

    @ApiModelProperty("父节点到子节点路径 使用,分割")
    private String idPath;

    @ApiModelProperty("当前节点级别 顶级默认1")
    private Integer level;

    @ApiModelProperty("标准名称")
    private String standardName;

    @ApiModelProperty("标准编码(选填，用于和系统参数比对）BUY_TIME-购买日期")
    private String standardCode;

    @ApiModelProperty("标准参数（按需自定义的json字符串）前端组织好保存至此字段")
    private String standardValues;

    @ApiModelProperty("图片地址")
    private String url;

    @ApiModelProperty("基础费用 表示电池基础价格")
    private BigDecimal basePrice;

    @ApiModelProperty("折旧费用 用来扣减基础费用使用")
    private BigDecimal depreciationPrice;

    @ApiModelProperty("是否是城满电电池标准 0 否 1是")
    private Integer isCmdBattery;

    @ApiModelProperty("排序号 正序排列 可修改")
    private Integer orderNum;

    @ApiModelProperty("是否启用：0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("修改人ID")
    private Integer modifyId;

    @ApiModelProperty("修改人")
    private String modifyor;

    @ApiModelProperty("系统自带1 自定义 0（默认）")
    private Integer systemCreate;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String creator;

}
